package com.adfframeworks.labs.domain;

import javax.validation.constraints.NotNull;

public class Request {	
	
	private Integer id;

	@NotNull
	private Integer from;
	
	@NotNull
	private Integer to;
	
	@NotNull
	private Integer community;
	
	@NotNull
	private Boolean ownerRequest;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getFrom() {
		return from;
	}

	public void setFrom(Integer from) {
		this.from = from;
	}

	public Integer getTo() {
		return to;
	}

	public void setTo(Integer to) {
		this.to = to;
	}

	public Integer getCommunity() {
		return community;
	}

	public void setCommunity(Integer community) {
		this.community = community;
	}

	public Boolean getOwnerRequest() {
		return ownerRequest;
	}

	public void setOwnerRequest(Boolean ownerRequest) {
		this.ownerRequest = ownerRequest;
	}	
}
